package br.ufpe.cin.mac.util;

public abstract class Constants {

	/**
	 * Messages Type
	 */
	public final static String NEW_MESSAGE = "NEW_MESSAGE";

	public final static String REQUEST = "REQUEST"; // talvez nao use

	public final static String RESPONSE = "RESPONSE";// talvez nao use

	public final static String CONFIGURATED_MESSAGE = "CONFIGURATED_MESSAGE ";

	/**
	 * Operations
	 */
	public final static String OP_RESPONSE = "OP_RESPONSE";

	public final static String OP_REQUEST = "OP_REQUEST";

	public final static String OP_SEND_PROXY = "OP_SEND_PROXY";

	/**
	 * Ports
	 */
	public final static String PORT_INVC = "invC";

	public final static String PORT_INVP = "invP";

	public final static String PORT_INVU = "invU";

	public final static String PORT_INVS = "invS";

	public final static String PORT_TERC = "terC";

	public final static String PORT_TERU = "terU";

	public final static String PORT_TERP = "terP";

	public final static String PORT_TERS = "terS";

	/**
	 * Comands
	 */

	public final static String SEND_REQUEST = "sendRequest";

	public final static String SEND_PROXY = "sendProxy";

	public final static String SEND_RESPONSE = "sendResponse";

	/***************************************************************************
	 * **************************************************************************
	 * **************************** TYPES AND NAMES
	 * *****************************
	 * **************************************************************************
	 * **************************************************************************
	 */

	/**
	 * Comunication
	 */

	public final static int TCP_PORT = 1098;

	public final static int HTTP_PORT = 80;

	public final static int UDP_PORT = 1095;

	/**
	 * Components
	 */
	public final static String COMP_JMS = "Middleware:Type=Component,name=Jms";

	public final static String COMP_MANAGER = "Middleware:Type=Component,name=Manager";

	public final static String COMP_SECURITY = "Middleware:Type=Component,name=Security";

	public final static String COMP_DECRYPT = "Middleware:Type=Component,name=Decrypt";

	public final static String COMP_CRYPT = "Middleware:Type=Component,name=Crypto";

	public final static String COMP_CHECKER = "Middleware:Type=Component,name=Checker";

	public final static String COMP_GZIP = "Middleware:Type=Component,name=GZIP";

	/**
	 * Connectors
	 */
	public final static String CONN_MOM = "Middleware:Type=AbstractConnector,name=Mom";

	public final static String CONN_RELIABLE = "Middleware:Type=AbstractConnector,name=Reliable";

	public final static String CONN_HTTPCLIENT = "Middleware:Type=ConcretConnector,name=HttpClient";

	public final static String CONN_HTTPSERVER = "Middleware:Type=ConcretConnector,name=HttpServer";

	public final static String CONN_TCPSERVER = "Middleware:Type=ConcretConnector,name=TcpServer";

	public final static String CONN_TCPCLIENT = "Middleware:Type=ConcretConnector,name=TcpClient";

	public final static String CONN_RTPSERVER = "Middleware:Type=ConcretConnector,name=RTPServer";

	public final static String CONN_RTPCLIENT = "Middleware:Type=ConcretConnector,name=RTPClient";

	public final static String CONN_UDPSERVER = "Middleware:Type=ConcretConnector,name=UDPServer";

	public final static String CONN_UDPCLIENT = "Middleware:Type=ConcretConnector,name=UDPClient";

	
	/**
	 * Monitors
	 */

	public final static String MON_Memory = "Middleware:Type=Monitor,name=MemoryMonitor";

	public final static String MON_Processor = "Middleware:Type=Monitor,name=ProcessorMonitor";
	
	public final static String MON_Throughput = "Middleware:Type=Monitor,name=ThroughputMonitor";

	/**
	 * ACTIONS
	 */
	public final static String ACTION_CHECKER = "ACTION_CHECKER";

	/**
	 * RULES
	 */

	public final static String RULE_NUMBER1 = "RULE_NUMBER1";
	public final static String RULE_NUMBER2 = "RULE_NUMBER2";
	public final static String RULE_NUMBER3 = "RULE_NUMBER3";

	/**
	 * METHODS
	 */

	public final static String METH_CHANGEINTERCEPTOR = "changeInterceptor";
	public static final String METH_GET_INTERCEPTORS = "getInterceptors";
	
	/**
	 * TYPES
	 */
	public static final String TYPE_CLIENT = "Client";
	public static final String TYPE_SERVER = "Server";
}